package com.easy.nacos.api;

/**
 * @Packge com.easy.nacos.api
 * @Autor linNaibin
 * @Description
 * @Version 1.0
 * @Date 2021/3/3 17:24
 */

import com.alibaba.nacos.api.annotation.NacosInjected;
import com.alibaba.nacos.api.naming.NamingService;
import org.springframework.web.bind.annotation.*;

@RestController
@ResponseBody
@RequestMapping("/")
public class HelloController {


    @GetMapping("/hello")
    public String hello() {
        return "hello ， 你调用了远程服务。";
    }

}
